package com.chonor.mall.mapper;

import com.chonor.mall.model.FlashPromotionSub;
import com.chonor.mall.model.FlashPromotionSubExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FlashPromotionSubMapper {
    long countByExample(FlashPromotionSubExample example);

    int deleteByExample(FlashPromotionSubExample example);

    int deleteByPrimaryKey(Long id);

    int insert(FlashPromotionSub record);

    int insertSelective(FlashPromotionSub record);

    List<FlashPromotionSub> selectByExample(FlashPromotionSubExample example);

    FlashPromotionSub selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") FlashPromotionSub record, @Param("example") FlashPromotionSubExample example);

    int updateByExample(@Param("record") FlashPromotionSub record, @Param("example") FlashPromotionSubExample example);

    int updateByPrimaryKeySelective(FlashPromotionSub record);

    int updateByPrimaryKey(FlashPromotionSub record);
}